﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Com.CMS263.PO;
using Com.CMS263.DAO;

namespace Com.CMS263.BLL
{
    public class DiscussBLL : BaseBLL<Discuss>
    {
        public Discuss entity = new Discuss();
        DiscussDAO dao = new DiscussDAO();
        public override Discuss GetModel()
        {
            return entity;
        }
        public IList<Discuss> GetListByPaging(int page, int pagesize)
        {
            return  dao.GetListByPaging(page, pagesize);
        }
        public IList<Discuss> GetListByOld(int page, int pagesize)
        {
            return dao.GetListByOld(page, pagesize);
        }
        public int GetListByPaging()
        {
            return dao.GetListByPaging();
        }
        public int GetListByOld()
        {
            return dao.GetListByOld();
        }
    }
}
